package com.example.group.network.express_plus_app.bean;


import java.io.Serializable;

public class Order implements Serializable {
    private String orderId;//UUID
    private String userPhone;//订单发布者手机号
    private String expressDetailAddress;//快递点详细地址 show
    private String deliveryAddress;//收货地址  show
    private String deliveryMode;//配送方式
    private String expressType;//快递类型  show
    private float estimatedPrice;//预估价格  show
    private String userLeisure;//方便收货时间
    private String stuffDetail;//物品描述
    private int orderState;//订单状态（0表示没有人揽收，1运送中，2表示已完成）
    private String courierPhone;//配送人联系方式
    private String orderCreateTime;//订单创建时间
    private String receiveOrderTime;//订单被接收时间
    private String orderFinishTime;//订单配送完成时间
    public Order(){

    }

    public Order(String orderId, String userPhone, String expressDetailAddress, String deliveryAddress, String deliveryMode, String expressType, float estimatedPrice, String userLeisure, String stuffDetail, int orderState, String courierPhone, String orderCreateTime, String receiveOrderTime, String orderFinishTime) {
        this.orderId = orderId;
        this.userPhone = userPhone;
        this.expressDetailAddress = expressDetailAddress;
        this.deliveryAddress = deliveryAddress;
        this.deliveryMode = deliveryMode;
        this.expressType = expressType;
        this.estimatedPrice = estimatedPrice;
        this.userLeisure = userLeisure;
        this.stuffDetail = stuffDetail;
        this.orderState = orderState;
        this.courierPhone = courierPhone;
        this.orderCreateTime = orderCreateTime;
        this.receiveOrderTime = receiveOrderTime;
        this.orderFinishTime = orderFinishTime;
    }

    public String getOrderId() {
        return orderId;
    }

    @Override
    public String toString() {
        return "Order{" +
                "orderId='" + orderId + '\'' +
                ", userPhone='" + userPhone + '\'' +
                ", expressDetailAddress='" + expressDetailAddress + '\'' +
                ", deliveryAddress='" + deliveryAddress + '\'' +
                ", deliveryMode='" + deliveryMode + '\'' +
                ", expressType='" + expressType + '\'' +
                ", estimatedPrice=" + estimatedPrice +
                ", userLeisure='" + userLeisure + '\'' +
                ", stuffDetail='" + stuffDetail + '\'' +
                ", orderState=" + orderState +
                ", courierPhone='" + courierPhone + '\'' +
                ", orderCreateTime='" + orderCreateTime + '\'' +
                ", receiveOrderTime='" + receiveOrderTime + '\'' +
                ", orderFinishTime='" + orderFinishTime + '\'' +
                '}';
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getExpressDetailAddress() {
        return expressDetailAddress;
    }

    public void setExpressDetailAddress(String expressDetailAddress) {
        this.expressDetailAddress = expressDetailAddress;
    }

    public String getDeliveryAddress() {
        return deliveryAddress;
    }

    public void setDeliveryAddress(String deliveryAddress) {
        this.deliveryAddress = deliveryAddress;
    }

    public String getDeliveryMode() {
        return deliveryMode;
    }

    public void setDeliveryMode(String deliveryMode) {
        this.deliveryMode = deliveryMode;
    }

    public String getExpressType() {
        return expressType;
    }

    public void setExpressType(String expressType) {
        this.expressType = expressType;
    }

    public float getEstimatedPrice() {
        return estimatedPrice;
    }

    public void setEstimatedPrice(float estimatedPrice) {
        this.estimatedPrice = estimatedPrice;
    }

    public String getUserLeisure() {
        return userLeisure;
    }

    public void setUserLeisure(String userLeisure) {
        this.userLeisure = userLeisure;
    }

    public String getStuffDetail() {
        return stuffDetail;
    }

    public void setStuffDetail(String stuffDetail) {
        this.stuffDetail = stuffDetail;
    }

    public int getOrderState() {
        return orderState;
    }

    public void setOrderState(int orderState) {
        this.orderState = orderState;
    }

    public String getCourierPhone() {
        return courierPhone;
    }

    public void setCourierPhone(String courierPhone) {
        this.courierPhone = courierPhone;
    }

    public String getOrderCreateTime() {
        return orderCreateTime;
    }

    public void setOrderCreateTime(String orderCreateTime) {
        this.orderCreateTime = orderCreateTime;
    }

    public String getReceiveOrderTime() {
        return receiveOrderTime;
    }

    public void setReceiveOrderTime(String receiveOrderTime) {
        this.receiveOrderTime = receiveOrderTime;
    }

    public String getOrderFinishTime() {
        return orderFinishTime;
    }

    public void setOrderFinishTime(String orderFinishTime) {
        this.orderFinishTime = orderFinishTime;
    }
}
